package demo.config;

import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.context.annotation.Configuration;

/**
 * Created with IntelliJ IDEA.
 * Description:
 * User: 22652
 * Date: 2024-07-08
 * Time: 11:54
 */
@ConfigurationProperties(prefix = "student")
@Configuration
@Data
public class Student {
    private int id;
    private String name;
    private int age;
}
